<!-- @format -->

<template>
  <div class="loading-container">
    <wd-loading color="#a4a1a1" />
    <p class="loading-message" v-if="message">{{ message }}</p>
  </div>
</template>

<script lang="ts" setup>
import { defineProps } from 'vue'

const props = defineProps<{
  message?: string
}>()
</script>

<style>
.loading-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}
.loading-message {
  margin-top: 10px;
  font-size: 14px;
  color: #a4a1a1;
}
</style>
